import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Properties;

public class Main {
    public static void main(String[] args) {
        String f="src/wxh.properties";
        Properties props=new Properties();
        try {
            props.load(new FileInputStream(f));
        } catch (IOException e) {
            throw new RuntimeException(e);
        }



        String filepath=props.getProperty("last_open_file");
        String interval = props.getProperty("auto_save_interval", "120");
        System.out.println(filepath);
        System.out.println(interval);
    }
}
